package com.haixiaoke.saas.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author qixi
 * @date 2023/10/18
 */
@Configuration
@Data
public class OssConfig {

    @Value("${saas.name}")
    private String applicationName;

    @Value("${spring.profiles.active}")
    private String profileActive;

    @Value("${oss.endpoint-url}")
    private String ossEndpointUrl;

    @Value("${oss.bucket-name}")
    private String ossBucketName;

    @Value("${oss.tenant-icon}")
    private String tenantIcon;

    @Value("${oss.account-certificate}")
    private String accountCertificate;

    @Value("${oss.user-business-avatar}")
    private String userBusinessAvatar;

    @Value("${oss.aliyun.secret-id}")
    private String accessKeyId;

    @Value("${oss.aliyun.secret-key}")
    private String accessKeySecret;

}
